-- GENERATED SPELL FOR [Void Summoner] --


function spell0_32259(pUnit, Event) --@Shadow Bolt,n/a--
pUnit:FullCastSpellOnTarget(9613,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32259', 3000, 1)
end

function Sorts_32259(pUnit, Event)
local choix_sorts_32259 = math.random(0, 0)
if choix_sorts_32259 == 0 then
pUnit:RegisterEvent('spell0_32259', 1, 1)
end
end

function mob32259_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32259', math.random(1500, 3000), 1)
end

function mob32259_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32259_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32259_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32259, 1, 'mob32259_Action')
RegisterUnitEvent(32259, 2, 'mob32259_Leave')
RegisterUnitEvent(32259, 3, 'mob32259_Kill')
RegisterUnitEvent(32259, 4, 'mob32259_Die')
